<!DOCTYPE html>
<%@ page pageEncoding="utf-8"%>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/style.css"/>
    <title>用户登录</title>
    <style type="text/css">
        td {
            text-align: center;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-4" style="height: 150px;"></div>
        <div class="col-md-4"></div>
        <div class="col-md-4"></div>
    </div>
    <div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-4"  style="padding-left: 5%;" style="text-align: center;">
            <form action="${pageContext.request.contextPath }/login" method="get">
                <table class="table  table-bordered" style="width:90%;">
                    <tr class="bg-primary">
                        <td style="text-align: center;" colspan="2"><span style="font-size: 20px;">用户登录</span></td>
                    </tr>
                    <tr class="active">
                        <td style="width: 120px;"><span class="czs-user-l" style="font-size: 30px;"></span></td>
                        <td><input type="text" placeholder="请输入用户名" class="form-control" name="username" id="a"></td>
                    </tr>

                    <tr class="active">
                        <td><span class="czs-lock-l" style="font-size: 30px;"></span></td>
                        <td><input type="password" placeholder="请输入密码" class="form-control" name="password" id="b"></td>
                    </tr>
                    <tr class="active">
                        <td>
                            <img src="${pageContext.request.contextPath }/validatecode/validateCode" width="100px" height="30px" id="validatecode"/>
                        </td>
                        <td><input type="text" placeholder="请输入验证码" class="form-control" name="safeCode" ></td>
                    </tr>
                    <tr>
                        <td><a href="${pageContext.request.contextPath }/register.jsp" class="btn btn-info">去注册</a></td>
                        <td><input type="submit" class="btn btn-success" value="登 录"></td>
                    </tr>
                </table>
            </form>
        </div>
        <div class="col-md-4"></div>
    </div>
    <div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-4"></div>
        <div class="col-md-4"></div>
    </div>
</div>

</body>
</html>
